# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ResourceUsageReq(object):

    def __init__(self, pin, appCode, serviceCode, region, resourceId, startTime, endTime, site, formula, ):
        """
        :param pin:  用户pin
        :param appCode:  产品线编码
        :param serviceCode:  产品编码
        :param region:  地域
        :param resourceId:  资源ID
        :param startTime:  开始时间（格式：2021-01-01 00:00:00）
        :param endTime:  结束时间（格式：2021-01-01 23:59:59）
        :param site:  站点（0：中国站）
        :param formula:  计费项
        """

        self.pin = pin
        self.appCode = appCode
        self.serviceCode = serviceCode
        self.region = region
        self.resourceId = resourceId
        self.startTime = startTime
        self.endTime = endTime
        self.site = site
        self.formula = formula
